﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    <link href="~/lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="~/lib/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
    <link href="~/lib/ligerUI/skins/Gray/css/all.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/css/common.css" rel="stylesheet" type="text/css" />
    <script src="~/lib/jquery/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="~/lib/ligerUI/js/ligerui.all.js"></script>
    <script src="~/Scripts/common.js"></script>
</head>
<body>
    <div style="margin:10px 0px;">
        <table class="gridtable" style="width:500px;">
            <tr>
                <td colspan="4" style="text-align:right;">
                    <div style="float:left;margin-left:70px;">床号：<label id="lblBED_NO"></label></div>
                    <div style="float:left;margin-left:50px;">姓名：<label id="lblPATIENT_NAME"></label></div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    开始陪护日期：
                </td>
                <td>
                    <input type="text" id="txtSTART_DATE" class="l-text" style="width:120px;" value="@(DateTime.Now.ToString("yyyy-MM-dd"))" />
                </td>
                <td style="text-align:right; width:100px;">
                    陪护姓名：
                </td>
                <td>
                    <input type="text" id="txtESCORT_NAME" class="l-text" style="width:120px;" /><font style="color:red;">&nbsp;*</font>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    年龄：
                </td>
                <td>
                    <div style="float:left;margin-top:5px;"><input type="text" id="txtESCORT_AGE" class="l-text" style="width:120px; text-align:left;" /></div><div style="float:left;"><font style="color:red;">&nbsp;*</font></div>
                </td>
                <td style="text-align:right; width:100px;">
                    性别：
                </td>
                <td>
                    <input type="text" id="ddlESCORT_SEX" class="l-text" style="width:120px;" />
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    证件类型：
                </td>
                <td>
                    <input type="text" id="ddlID_CARD_TYPE" class="l-text" style="width:120px;" />
                </td>
                <td style="text-align:right; width:100px;">
                    证件号：
                </td>
                <td>
                    <input type="text" id="txtID_CARD_NO" class="l-text" style="width:120px;" /><font style="color:red;">&nbsp;*</font>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    联系方式：
                </td>
                <td>
                    <input type="text" id="txtESCORT_PHONE" class="l-text" style="width:120px;" /><font style="color:red;">&nbsp;*</font>
                </td>
                <td style="text-align:right; width:100px;">
                    亲属关系：
                </td>
                <td>
                    <div style="float:left;margin-top:5px;"><input type="text" id="ddlKINSHIP" class="l-text" style="width:120px;" /></div><div style="float:left;"><font style="color:red;">&nbsp;*</font></div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    籍贯：
                </td>
                <td colspan="3">
                    <div style="float:left;margin-top:5px;">
                        <input type="text" id="ddlProvince" style="width:70px;" value="" />
                    </div>
                    <div style="float:left;margin-left:5px;margin-top:5px;">
                        <input type="text" id="ddlCity" style="width:70px;" value="" />
                    </div>
                    <div style="float:left;margin-left:5px;margin-top:5px; ">
                        <input type="text" id="ddlDistrict" style="width:70px;" value="" />
                    </div>
                    <div style="float:left;"><font style="color:red;">&nbsp;*</font></div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    现住地址：
                </td>
                <td colspan="3">
                    <input type="text" id="txtADDR_DETAIL" class="l-text" style="width:354px;" value="" /><font style="color:red;">&nbsp;*</font>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    陪护类型：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoESCORT_TYPE1">
                            <input type="radio" id="rdoESCORT_TYPE1" name="rdoESCORT_TYPE" value="1" />&nbsp;临时
                        </label>&nbsp;&nbsp;
                        <label for="rdoESCORT_TYPE2">
                            <input type="radio" id="rdoESCORT_TYPE2" name="rdoESCORT_TYPE" value="2" checked="checked" />&nbsp;长期
                        </label>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    健康码：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label><input id="rdoHEALTH_CODE_TYPE1" name="rdoHEALTH_CODE_TYPE" type="radio" value="1" />&nbsp;绿码</label>&nbsp;&nbsp;
                        <label><input id="rdoHEALTH_CODE_TYPE2" name="rdoHEALTH_CODE_TYPE" type="radio" value="2" />&nbsp;橙码</label>&nbsp;&nbsp;
                        <label><input id="rdoHEALTH_CODE_TYPE3" name="rdoHEALTH_CODE_TYPE" type="radio" value="3" />&nbsp;红码</label>&nbsp;&nbsp;
                        <label><input id="rdoHEALTH_CODE_TYPE0" name="rdoHEALTH_CODE_TYPE" type="radio" value="0" checked="checked" />&nbsp;无</label>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;vertical-align:top;">
                    外省来泉超过14天：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoOUT_COME_FLAG1">
                            <input type="radio" id="rdoOUT_COME_FLAG1" name="rdoOUT_COME_FLAG" value="1" />&nbsp;是
                        </label>&nbsp;&nbsp;
                        <label for="rdoOUT_COME_FLAG2">
                            <input type="radio" id="rdoOUT_COME_FLAG2" name="rdoOUT_COME_FLAG" value="2" />&nbsp;否
                        </label>&nbsp;&nbsp;
                        <label for="rdoOUT_COME_FLAG0">
                            <input type="radio" id="rdoOUT_COME_FLAG0" name="rdoOUT_COME_FLAG" value="0" checked="checked" />&nbsp;本市
                        </label>&nbsp;&nbsp;
                        <label for="rdoOUT_COME_FLAG3">
                            <input type="radio" id="rdoOUT_COME_FLAG3" name="rdoOUT_COME_FLAG" value="3" />&nbsp;本省外市
                        </label>
                    </div>
                    <div class="divOUT_COME_FLAG1 divOUT_COME_FLAG2" style="float:left;display:none;">
                        <div style="float:left;">来泉日期：</div>
                        <div style="float:left;padding-top:5px;">
                            <div style="float:left;">
                                <input type="text" id="txtCOME_FROM_DATE" class="l-text" style="width:105px;" value="@(DateTime.Now.ToString("yyyy-MM-dd"))" />
                            </div><div style="float:left;">
                                <font style="color:red;">&nbsp;*</font>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    是否重点疫区接触史：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoKEY_AREAS_FLAG1">
                            <input type="radio" id="rdoKEY_AREAS_FLAG1" name="rdoKEY_AREAS_FLAG" value="1" />&nbsp;有
                        </label>&nbsp;&nbsp;
                        <label for="rdoKEY_AREAS_FLAG0">
                            <input type="radio" id="rdoKEY_AREAS_FLAG0" name="rdoKEY_AREAS_FLAG" value="0" checked="checked" />&nbsp;无
                        </label>
                    </div>
                    <div id="divKEY_AREAS_FLAG1" style="float:left;margin-left:20px;display:none;padding-top:5px;">
                        <input type="text" id="ddlKEY_AREAS_DESC" class="l-text" style="width:250px;" />
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    是否境外归国人员：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoABROAD_FLAG1">
                            <input type="radio" id="rdoABROAD_FLAG1" name="rdoABROAD_FLAG" value="1" />&nbsp;是
                        </label>&nbsp;&nbsp;
                        <label for="rdoABROAD_FLAG0">
                            <input type="radio" id="rdoABROAD_FLAG0" name="rdoABROAD_FLAG" value="0" checked="checked" />&nbsp;否
                        </label>
                    </div>
                    <div id="divABROAD_FLAG1" style="float:left;margin-left:10px;display:none;">
                        <div style="float:left;">归国日期：</div>
                        <div style="float:left;padding-top:5px;">
                            <input type="text" id="txtENTRY_DATE" class="l-text" style="width:80px;" />
                        </div>
                        <div style="float:left;margin-left:10px;">国家：<input type="text" id="txtABROAD_COUNTRY" class="l-text" style="width:80px;" /></div>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    有无流行病史：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoEPIDEMIC_FLAG1">
                            <input type="radio" id="rdoEPIDEMIC_FLAG1" name="rdoEPIDEMIC_FLAG" value="1" />&nbsp;有
                        </label>&nbsp;&nbsp;
                        <label for="rdoEPIDEMIC_FLAG0">
                            <input type="radio" id="rdoEPIDEMIC_FLAG0" name="rdoEPIDEMIC_FLAG" value="0" checked="checked" />&nbsp;无
                        </label>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align:right; width:130px;">
                    有无临床症状：
                </td>
                <td colspan="3">
                    <div style="float:left;">
                        <label for="rdoCLINIC_SYMP_FLAG1">
                            <input type="radio" id="rdoCLINIC_SYMP_FLAG1" name="rdoCLINIC_SYMP_FLAG" value="1" />&nbsp;有
                        </label>&nbsp;&nbsp;
                        <label for="rdoCLINIC_SYMP_FLAG0">
                            <input type="radio" id="rdoCLINIC_SYMP_FLAG0" name="rdoCLINIC_SYMP_FLAG" value="0" checked="checked" />&nbsp;无
                        </label>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <div style="float:left;margin-left:45px;"><label for="chkPrintEscortCard"><input type="checkbox" id="chkPrintEscortCard" name="" value="1" />保存同时打印陪护卡</label></div>
                    <div style="float:left;margin-left:45px;"><label for="chkREPLACE_FLAG"><input type="checkbox" id="chkREPLACE_FLAG" name="" value="1" />陪护更换</label></div>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align:center;padding-top:10px;">
                    <input id="btnSubmit" type="button" value="确定" class="l-button" onclick="save()" />&nbsp;&nbsp;&nbsp;
                    <input id="btnCancel" type="button" value="取消" class="l-button-cancel" onclick="closeDialog()" />
                </td>
            </tr>
        </table>
        <input type="hidden" id="hdnId" value="@(ViewBag.Id)" />
    </div>
</body>
</html>
@{
    <script src="~/Areas/Escort/Scripts/EditEscortPersonnel.js?v=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}